package com.xebest.web.mapper.write;

import com.xebest.web.model.XeVenOrderCreditCardRecordsEntity;
import com.xebest.web.model.XeVenOrderInfoEntity;

/**
 * @author chenjing
 */
public interface XeVenOrderCreditCardRecordsMapper {

    /**
     * 插入pos支付成功回调记录
     *
     * @author chenjing
     */
    int insertRecords(XeVenOrderCreditCardRecordsEntity recordsEntity);

    /**
     * 根据订单号查询订单信息
     *
     * @author chenjing
     */
    XeVenOrderInfoEntity queryOrderInfo(String orderId);

    /**
     * 更新订单信息
     *
     * @author chenjing
     */
    int updateOrderInfo(XeVenOrderInfoEntity entity);
}
